package com.hdaccp.foodsales.dao;

import com.hdaccp.foodsales.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    public String getPwd(String username);
    public User login(@Param("Account") String Account,@Param("Pwd") String Pwd);
    public long getTotalCount(@Param("username") String username) ;
    public List<User> query(@Param("username") String username, @Param("offset") int offset, @Param("limit") int limit) ;

    public int zj(User user);
}

